package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkDisDao;
import com.suke.czx.modules.wxadmin.entity.DkDisEntity;
import com.suke.czx.modules.wxadmin.service.DkDisService;



@Service("dkDisService")
public class DkDisServiceImpl implements DkDisService {
	@Autowired
	private DkDisDao dkDisDao;
	
	@Override
	public DkDisEntity queryObject(String id){
		return dkDisDao.queryObject(id);
	}
	
	@Override
	public List<DkDisEntity> queryList(Map<String, Object> map){
		return dkDisDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkDisDao.queryTotal(map);
	}
	
	@Override
	public void save(DkDisEntity dkDis){
		dkDisDao.save(dkDis);
	}
	
	@Override
	public void update(DkDisEntity dkDis){
		dkDisDao.update(dkDis);
	}
	
	@Override
	public void delete(String id){
		dkDisDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dkDisDao.deleteBatch(ids);
	}
	
}
